package com.wpen.unit.cvt.job;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.wpen.unit.infra.mybatis.job.po.BatchExecRedologPo;
import com.wpen.unit.web.dto.job.BatchExecRedoRequest;
import com.wpen.unit.web.dto.job.BatchExecRedoResponse;
import com.wpen.unit.web.dto.job.BatchExecRedologListRequest;
import com.wpen.unit.web.dto.job.BatchExecRedologListResponse;
import com.wpen.unit.web.dto.job.BatchExecRedologListRowsResponse;

/**
 * 批次执行日志转换类
 * 
 * @author Wang Peng
 * @date 2023-01-18
 *
 */
@Mapper
public interface BatchExecRedologCvt {
    BatchExecRedologCvt INSTANCE = Mappers.getMapper(BatchExecRedologCvt.class);

    BatchExecRedologPo modDto2Do(BatchExecRedoRequest batchExecRedologModRequest);

    BatchExecRedoResponse modDo2Dto(BatchExecRedologPo batchExecRedologPo);


    BatchExecRedologPo queryListDto2Do(BatchExecRedologListRequest batchExecRedologListRequest);

    BatchExecRedologListResponse queryListDo2Dto(BatchExecRedologPo batchExecRedologPo);

    BatchExecRedologListRowsResponse queryListRowDo2Dto(BatchExecRedologPo batchExecRedologPo);

}
